projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
950a45d
)
(detect_eol): Preserve coding->cmp_data.
author
Kenichi Handa
<handa@m17n.org>
Mon, 24 Jun 2002 00:35:59 +0000
(
00:35
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 24 Jun 2002 00:35:59 +0000
(
00:35
+0000)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index a7b1ce4f71eeb23a4c63a2fd030813be0d175088..25bf5f9ad9344f96cc735745836d8ec2ac0fcfe3 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-4317,11
+4317,13
@@
detect_eol (coding, src, src_bytes)
{
int src_multibyte = coding->src_multibyte;
int dst_multibyte = coding->dst_multibyte;
+ struct composition_data *cmp_data = coding->cmp_data;
setup_coding_system (XVECTOR (val)->contents[eol_type], coding);
coding->src_multibyte = src_multibyte;
coding->dst_multibyte = dst_multibyte;
coding->heading_ascii = skip;
+ coding->cmp_data = cmp_data;
}
}